import { ApiProperty } from '@nestjs/swagger';

export class AnswerProblemDto {
  /**
   * 已学习单词的id
   */
  @ApiProperty({
    name: 'wordId',
    description: '已学习单词的id',
    example: 0,
  })
  wordId: number;

  /**
   * 学习这个单词的人的id
   */
  userId: number;

  /**
   * 词典id
   */
  @ApiProperty({
    name: 'dictionaryId',
    description: '词典id',
    example: 0,
  })
  dictionaryId: number;

  @ApiProperty({
    name: 'answer',
    description: '回答的答案',
    example: '',
  })
  answer: string;
}
